package com.sf.rbac.cons;

import lombok.Data;

@Data
public class RedisConst {
    // 验证码
    public static final String VERIFY_CODE_PREFIX = "verify_code:";
    //用户信息前缀
    public static final String EMPLOYEE_INFO_PREFIX ="employee_info_prefix:";
    //权限表达式前缀
    public static final String EMPLOYEE_EXPRESSION_PREFIX ="employee_expression_prefix:";
    // 过期时间
    public static final Integer VERIFY_CODE_OVERTIME =5*60;
    //用户信息的过期时间
    public static final Integer EMPLOYEE_INFO_EXPIRE_TIME = 30*60;
    //权限表达式过期时间
    public static final Integer EMPLOYEE_EXPRESSION_EXPIRE_TIME =30*60;
}
